<template>
  <el-button type="primary" style="margin-left: 16px" @click="drawer = true">
    open drawer
  </el-button>

  <el-drawer v-model="drawer" :size="500" title="I am the title" :with-header="false" :modal="false">
    <span>Hi there!</span>
  </el-drawer>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const drawer = ref(false)
</script>

<style scoped>

</style>